﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Zatify.WebUI.Admin.Models;

using Zatify.Domain.Data;
using Zatify.WebUI.Models;

namespace Zatify.WebUI.Areas.Admin.Models.Reports
{
    public static class UserReferrerReportSortParameter
    {
        public const string IDAsc = "ID";
        public const string IDDesc = "ID desc";

        public const string ReferredByIDAsc = "ReferredByID";
        public const string ReferredByIDDesc = "ReferredByID desc";

        public const string ReferredIDAsc = "ReferredID";
        public const string ReferredIDDesc = "ReferredID desc";

        public const string ReferredIDUserTypeAsc = "ReferredIDUserType";
        public const string ReferredIDUserTypeDesc = "ReferredIDUserType desc";

        public const string DateAsc = "Date";
        public const string DateDesc = "Date desc";

        public const string NoAsc = "No";
        public const string NoDesc = "No desc";

        public const string TotalAsc = "Total";
        public const string TotalDesc = "Total desc";
    }

    public class UserReferrerReportViewModel
    {
        public DateTime? DateFrom { get; set; }
        public DateTime? DateTo { get; set; }
        public String ReferredByID { get; set; }
        public String ReferredID { get; set; }

        public List<Report_UserReferrer_Result> UserReferrers { get; set; }
        public PagingInfo PagingInfo { get; set; }

        public String SortOrderParam { get; set; }

        public String IDSortParam { get; set; }
        public String ReferredByIDSortParam { get; set; }
        public String ReferredIDSortParam { get; set; }
        public String ReferredIDUserTypeSortParam { get; set; }
        public String DateSortParam { get; set; }
        public String NoSortParam { get; set; }
        public String TotalSortParam { get; set; }
    }
}